package com.yuchao.base.xyc004.proxy.jdk;

/**
 * Created by xingyuchao on 2017-06-13.
 * 定义客户类实现快递服务接口 （被代理的类）
 */
public class CustomerImpl implements ExpressService {

    public String sendExpress() {
        System.out.println("客户寄快递");
        return "邮寄成功！";
    }

    public void receiveExpress() {
        System.out.println("客户收快递");
    }
}